<%= form_for @feed.order_made,
     :url => update_order_made_order_url(@feed.order_made),
     :remote => true,
     :method => :post,
     :html => {
       :class => :edit_feed_form
     } do |f|
 %>
<h6><b>修改-厂家订做</b></h6>
<%= f.hidden_field :order_item_id %>
<dl>
  <dt>
    工厂名
  </dt>
  <dd>
    <%= f.text_field :factory_name %>
  </dd>
</dl>
<dl>
  <dt>
    订做人
  </dt>
  <dd>
    <%= f.text_field :creator_name %>
  </dd>
</dl>
<dl>
  <dt>
    订做数量
  </dt>
  <dd>
    <%= f.text_field :order_made_count %>
  </dd>
</dl>
<dl>
  <dt>
    订做日期
  </dt>
  <dd>
    <%= f.text_field :order_made_on, :class => :date %>
    <script>
      $('#order_made_order_made_on').datepicker({
        showButtonPanel: true
      });
    </script>
  </dd>
</dl>
<dl>
  <dt>
    备注
  </dt>
  <dd>
    <%= f.text_area :remark, :rows => 5%>
  </dd>
</dl>
<dl>
  <dd class="form_tool">
    <%= f.submit '保存' %>
    <%= link_to '返回', show_feed_order_url(@feed),:remote => true, :method => :get, :id => "edit_order_made_btn#{@feed.id}", :class => 'button' %>    
  </dd>
</dl>
<div class="clear"></div>
<%end%>
